package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 出差旅费报销单明细对象 erp_king_travel_detail
 *
 * @author wutao
 * @date 2024-08-23
 */
@TableName("erp_king_travel_detail")
@ApiModel(value = "erp_king_travel_detail对象", description = "出差旅费报销单明细")
@Data
public class KingTravelDetailEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 差旅费明细主键id
     */
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 差旅费报销单id
     */
    @ApiModelProperty("差旅费报销单id")
    @TableField("travel_id")
    @Excel(name = "差旅费报销单id")
    private String travelId;

    /**
     * 行程单id
     */
    @ApiModelProperty("行程单id")
    @TableField("travel_trip_id")
    @Excel(name = "行程单id")
    private String travelTripId;

    /**
     * 费用项目
     */
    @ApiModelProperty("费用项目")
    @TableField("cost_items")
    @Excel(name = "费用项目")
    private String costItems;

    /**
     * 差旅费类型
     */
    @ApiModelProperty("差旅费类型")
    @TableField("travel_type")
    @Excel(name = "差旅费类型")
    private String travelType;

    /**
     * 差旅费类型
     */
    @ApiModelProperty("座位等级(差旅类型为铁路车票(中国)、航空运输(中国)、轮船时录入)")
    @TableField("seat_level")
    @Excel(name = "座位等级(差旅类型为铁路车票(中国)、航空运输(中国)、轮船时)")
    private String seatLevel;

    /**
     * 差旅费金额
     */
    @ApiModelProperty("差旅费金额")
    @TableField("travel_money")
    @Excel(name = "差旅费金额")
    private String travelMoney;

    /**
     * 是否实名(1是2否)
     */
    @ApiModelProperty("是否实名(1是2否)")
    @TableField("is_real_name")
    @Excel(name = "是否实名(1是2否)")
    private String isRealName;

    /**
     * 民航基金及保险
     */
    @ApiModelProperty("民航基金及保险")
    @TableField("fund_insurance")
    @Excel(name = "民航基金及保险")
    private String fundInsurance;

    /**
     * 发票类型
     */
    @ApiModelProperty("发票类型")
    @TableField("invoice_type")
    @Excel(name = "发票类型")
    private String invoiceType;

    /**
     * 税率
     */
    @ApiModelProperty("税率")
    @TableField("rate")
    @Excel(name = "税率")
    private String rate;

    /**
     * 税额
     */
    @ApiModelProperty("税额")
    @TableField("rate_amount")
    @Excel(name = "税额")
    private String rateAmount;

    /**
     * 申请报销金额
     */
    @ApiModelProperty("申请报销金额")
    @TableField("apply_amount")
    @Excel(name = "申请报销金额")
    private String applyAmount;

    /**
     * 费用承担产品
     */
    @ApiModelProperty("费用承担产品")
    @TableField("cost_products")
    @Excel(name = "费用承担产品")
    private String costProducts;

    /**
     * 费用承担部门
     */
    @ApiModelProperty("费用承担部门")
    @TableField("cost_bearing_dept")
    @Excel(name = "费用承担部门")
    private String costBearingDept;

    /**
     * 申请付款金额
     */
    @ApiModelProperty("申请付款金额")
    @TableField("apply_payment_amount")
    @Excel(name = "申请付款金额")
    private String applyPaymentAmount;

    /**
     * 已生成发票(1是2否)
     */
    @ApiModelProperty("已生成发票(1是2否)")
    @TableField("is_generate_invoice")
    @Excel(name = "已生成发票(1是2否)")
    private String isGenerateInvoice;

}
